<template>
        <el-container>
            <el-header>
                 <HeadNav @leftMenu="getLeftMenu" :adminObj="adminObj" ></HeadNav>
            </el-header>
            <el-main>
                <router-view @sendObj="getSendObj"></router-view>
            </el-main>
        </el-container>

</template>
<script>
import HeadNav from "@/components/HeadNav.vue";
export default {
  components: {
    HeadNav,
  },
  data(){
      return{
          index:"",
          adminObj:""
      }
  },
  methods:{
      getLeftMenu(index){
          this.index=index;
      },
      getSendObj(obj){
          this.adminObj=obj;
      }
  },
};
</script>
<style lang="less" scoped>
  .el-aside {
    background-color: #fff;
  }
  .el-main{
      padding:0px !important;
  }
</style>
